<%--
  Created by IntelliJ IDEA.
  User: 甲乙饼叮叮
  Date: 2019/10/12
  Time: 12:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div style="display:block;" class="tabpage">
    <h3 class="glyphicon glyphicon-grain">挂号订单</h3>

    <div class="counts">
        <small
                class="glyphicon glyphicon-bullhorn">&nbsp;注意:点击相应订单即可查看挂号<b>详情</b>,进行<b>退号</b>及<b>科室变更</b>--三小时内仅可变更一次,<b>退号后三小时内不可以在此挂号</b></small>
        <c:if test="${empty orderVos}">
            <hr><span style="margin: 0 auto;text-align: center">您目前没有挂号订单</span>
        </c:if>
        <c:forEach items="${requestScope.orderVos.list}" var="o" varStatus="s">
            <c:if test="${o.regStatus==0 || o.regStatus==3}">
                <div style="margin-bottom: 50px;">
                    <div class="list" onclick="location.href='${pageContext.request.contextPath}/personal/orderdetails?Oid=${o.id}'" style="cursor:pointer;">
                        <div class="leftlist">
                            <h4>${o.deptName}-${o.sdeptName}&nbsp;(${o.tdate}&nbsp;${o.tstart}-${o.tend})&nbsp;&nbsp;&nbsp;&nbsp;放号数量:${o.numbers}&nbsp;&nbsp;&nbsp;当前排名:${inte[s.count-1]}</h4><br>
                            <span style="color: rgb(180, 180, 180)">知医治第一医院</span>
                            <span style="padding-left: 150px; color: rgb(180, 180, 180)">医师:${o.docName}</span>
                        </div>
                        <div class="rightlist">
                            <span style="font-size: 2em;">${o.month}/${o.day}</span><br>
                            &nbsp;<span style="color: rgb(180, 180, 180)">${o.year}</span>
                        </div>
                    </div>
                </div>
            </c:if>
        </c:forEach>
    </div>
</div>
<div style="margin: 0 auto;"><%@ include file="../ajax/orderpage.jsp"%></div>

